<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>TfParser</title>
		<meta name="author" content="Markus" />
		<!-- Date: 2011-12-11 -->
		<script src="http://code.jquery.com/jquery-latest.js"></script>
		<script src="TweetflowParser.js"></script>
		<script src="SFTweetflow.js"></script>
		<script src="SRTweetflow.js"></script>
		<script src="../NLG/enlg.js"></script>
		<script>
			parseNtranslate = function(text){
				var tf = parseTweetflow(text);
				console.log(tf);
				var trans = translateTFtoNaturalEnglish(tf);
				console.log(text);
				$("#translation").text(trans);
			}
		</script>
	</head>
	
	<body>
		
			<textarea id="tweet" name="tweet"></textarea>
			<button onclick="parseNtranslate($('#tweet').val())">translate</button>
		
		<p id="translation">Translation:</p>
	</body>
</html>
